package com.sdry.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PartCategoryExample implements Serializable{
	private static final long serialVersionUID = 1L;
	
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PartCategoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(Long value) {
            addCriterion("category_id =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(Long value) {
            addCriterion("category_id <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(Long value) {
            addCriterion("category_id >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) {
            addCriterion("category_id >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(Long value) {
            addCriterion("category_id <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(Long value) {
            addCriterion("category_id <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<Long> values) {
            addCriterion("category_id in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<Long> values) {
            addCriterion("category_id not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(Long value1, Long value2) {
            addCriterion("category_id between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(Long value1, Long value2) {
            addCriterion("category_id not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Long value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Long value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Long value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Long value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Long value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Long> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Long> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Long value1, Long value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Long value1, Long value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andOrdersIsNull() {
            addCriterion("orders is null");
            return (Criteria) this;
        }

        public Criteria andOrdersIsNotNull() {
            addCriterion("orders is not null");
            return (Criteria) this;
        }

        public Criteria andOrdersEqualTo(Integer value) {
            addCriterion("orders =", value, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersNotEqualTo(Integer value) {
            addCriterion("orders <>", value, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersGreaterThan(Integer value) {
            addCriterion("orders >", value, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersGreaterThanOrEqualTo(Integer value) {
            addCriterion("orders >=", value, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersLessThan(Integer value) {
            addCriterion("orders <", value, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersLessThanOrEqualTo(Integer value) {
            addCriterion("orders <=", value, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersIn(List<Integer> values) {
            addCriterion("orders in", values, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersNotIn(List<Integer> values) {
            addCriterion("orders not in", values, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersBetween(Integer value1, Integer value2) {
            addCriterion("orders between", value1, value2, "orders");
            return (Criteria) this;
        }

        public Criteria andOrdersNotBetween(Integer value1, Integer value2) {
            addCriterion("orders not between", value1, value2, "orders");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNull() {
            addCriterion("ctime is null");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNotNull() {
            addCriterion("ctime is not null");
            return (Criteria) this;
        }

        public Criteria andCtimeEqualTo(Date value) {
            addCriterion("ctime =", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotEqualTo(Date value) {
            addCriterion("ctime <>", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThan(Date value) {
            addCriterion("ctime >", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ctime >=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThan(Date value) {
            addCriterion("ctime <", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThanOrEqualTo(Date value) {
            addCriterion("ctime <=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeIn(List<Date> values) {
            addCriterion("ctime in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotIn(List<Date> values) {
            addCriterion("ctime not in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeBetween(Date value1, Date value2) {
            addCriterion("ctime between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotBetween(Date value1, Date value2) {
            addCriterion("ctime not between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andCremarkIsNull() {
            addCriterion("cremark is null");
            return (Criteria) this;
        }

        public Criteria andCremarkIsNotNull() {
            addCriterion("cremark is not null");
            return (Criteria) this;
        }

        public Criteria andCremarkEqualTo(String value) {
            addCriterion("cremark =", value, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkNotEqualTo(String value) {
            addCriterion("cremark <>", value, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkGreaterThan(String value) {
            addCriterion("cremark >", value, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkGreaterThanOrEqualTo(String value) {
            addCriterion("cremark >=", value, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkLessThan(String value) {
            addCriterion("cremark <", value, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkLessThanOrEqualTo(String value) {
            addCriterion("cremark <=", value, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkLike(String value) {
            addCriterion("cremark like", value, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkNotLike(String value) {
            addCriterion("cremark not like", value, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkIn(List<String> values) {
            addCriterion("cremark in", values, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkNotIn(List<String> values) {
            addCriterion("cremark not in", values, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkBetween(String value1, String value2) {
            addCriterion("cremark between", value1, value2, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremarkNotBetween(String value1, String value2) {
            addCriterion("cremark not between", value1, value2, "cremark");
            return (Criteria) this;
        }

        public Criteria andCremark1IsNull() {
            addCriterion("cremark1 is null");
            return (Criteria) this;
        }

        public Criteria andCremark1IsNotNull() {
            addCriterion("cremark1 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark1EqualTo(String value) {
            addCriterion("cremark1 =", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotEqualTo(String value) {
            addCriterion("cremark1 <>", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1GreaterThan(String value) {
            addCriterion("cremark1 >", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1GreaterThanOrEqualTo(String value) {
            addCriterion("cremark1 >=", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1LessThan(String value) {
            addCriterion("cremark1 <", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1LessThanOrEqualTo(String value) {
            addCriterion("cremark1 <=", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1Like(String value) {
            addCriterion("cremark1 like", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotLike(String value) {
            addCriterion("cremark1 not like", value, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1In(List<String> values) {
            addCriterion("cremark1 in", values, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotIn(List<String> values) {
            addCriterion("cremark1 not in", values, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1Between(String value1, String value2) {
            addCriterion("cremark1 between", value1, value2, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark1NotBetween(String value1, String value2) {
            addCriterion("cremark1 not between", value1, value2, "cremark1");
            return (Criteria) this;
        }

        public Criteria andCremark2IsNull() {
            addCriterion("cremark2 is null");
            return (Criteria) this;
        }

        public Criteria andCremark2IsNotNull() {
            addCriterion("cremark2 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark2EqualTo(String value) {
            addCriterion("cremark2 =", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotEqualTo(String value) {
            addCriterion("cremark2 <>", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2GreaterThan(String value) {
            addCriterion("cremark2 >", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2GreaterThanOrEqualTo(String value) {
            addCriterion("cremark2 >=", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2LessThan(String value) {
            addCriterion("cremark2 <", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2LessThanOrEqualTo(String value) {
            addCriterion("cremark2 <=", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2Like(String value) {
            addCriterion("cremark2 like", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotLike(String value) {
            addCriterion("cremark2 not like", value, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2In(List<String> values) {
            addCriterion("cremark2 in", values, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotIn(List<String> values) {
            addCriterion("cremark2 not in", values, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2Between(String value1, String value2) {
            addCriterion("cremark2 between", value1, value2, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark2NotBetween(String value1, String value2) {
            addCriterion("cremark2 not between", value1, value2, "cremark2");
            return (Criteria) this;
        }

        public Criteria andCremark3IsNull() {
            addCriterion("cremark3 is null");
            return (Criteria) this;
        }

        public Criteria andCremark3IsNotNull() {
            addCriterion("cremark3 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark3EqualTo(String value) {
            addCriterion("cremark3 =", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotEqualTo(String value) {
            addCriterion("cremark3 <>", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3GreaterThan(String value) {
            addCriterion("cremark3 >", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3GreaterThanOrEqualTo(String value) {
            addCriterion("cremark3 >=", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3LessThan(String value) {
            addCriterion("cremark3 <", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3LessThanOrEqualTo(String value) {
            addCriterion("cremark3 <=", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3Like(String value) {
            addCriterion("cremark3 like", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotLike(String value) {
            addCriterion("cremark3 not like", value, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3In(List<String> values) {
            addCriterion("cremark3 in", values, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotIn(List<String> values) {
            addCriterion("cremark3 not in", values, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3Between(String value1, String value2) {
            addCriterion("cremark3 between", value1, value2, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark3NotBetween(String value1, String value2) {
            addCriterion("cremark3 not between", value1, value2, "cremark3");
            return (Criteria) this;
        }

        public Criteria andCremark4IsNull() {
            addCriterion("cremark4 is null");
            return (Criteria) this;
        }

        public Criteria andCremark4IsNotNull() {
            addCriterion("cremark4 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark4EqualTo(String value) {
            addCriterion("cremark4 =", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotEqualTo(String value) {
            addCriterion("cremark4 <>", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4GreaterThan(String value) {
            addCriterion("cremark4 >", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4GreaterThanOrEqualTo(String value) {
            addCriterion("cremark4 >=", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4LessThan(String value) {
            addCriterion("cremark4 <", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4LessThanOrEqualTo(String value) {
            addCriterion("cremark4 <=", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4Like(String value) {
            addCriterion("cremark4 like", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotLike(String value) {
            addCriterion("cremark4 not like", value, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4In(List<String> values) {
            addCriterion("cremark4 in", values, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotIn(List<String> values) {
            addCriterion("cremark4 not in", values, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4Between(String value1, String value2) {
            addCriterion("cremark4 between", value1, value2, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark4NotBetween(String value1, String value2) {
            addCriterion("cremark4 not between", value1, value2, "cremark4");
            return (Criteria) this;
        }

        public Criteria andCremark5IsNull() {
            addCriterion("cremark5 is null");
            return (Criteria) this;
        }

        public Criteria andCremark5IsNotNull() {
            addCriterion("cremark5 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark5EqualTo(String value) {
            addCriterion("cremark5 =", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotEqualTo(String value) {
            addCriterion("cremark5 <>", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5GreaterThan(String value) {
            addCriterion("cremark5 >", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5GreaterThanOrEqualTo(String value) {
            addCriterion("cremark5 >=", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5LessThan(String value) {
            addCriterion("cremark5 <", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5LessThanOrEqualTo(String value) {
            addCriterion("cremark5 <=", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5Like(String value) {
            addCriterion("cremark5 like", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotLike(String value) {
            addCriterion("cremark5 not like", value, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5In(List<String> values) {
            addCriterion("cremark5 in", values, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotIn(List<String> values) {
            addCriterion("cremark5 not in", values, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5Between(String value1, String value2) {
            addCriterion("cremark5 between", value1, value2, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark5NotBetween(String value1, String value2) {
            addCriterion("cremark5 not between", value1, value2, "cremark5");
            return (Criteria) this;
        }

        public Criteria andCremark6IsNull() {
            addCriterion("cremark6 is null");
            return (Criteria) this;
        }

        public Criteria andCremark6IsNotNull() {
            addCriterion("cremark6 is not null");
            return (Criteria) this;
        }

        public Criteria andCremark6EqualTo(String value) {
            addCriterion("cremark6 =", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotEqualTo(String value) {
            addCriterion("cremark6 <>", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6GreaterThan(String value) {
            addCriterion("cremark6 >", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6GreaterThanOrEqualTo(String value) {
            addCriterion("cremark6 >=", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6LessThan(String value) {
            addCriterion("cremark6 <", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6LessThanOrEqualTo(String value) {
            addCriterion("cremark6 <=", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6Like(String value) {
            addCriterion("cremark6 like", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotLike(String value) {
            addCriterion("cremark6 not like", value, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6In(List<String> values) {
            addCriterion("cremark6 in", values, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotIn(List<String> values) {
            addCriterion("cremark6 not in", values, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6Between(String value1, String value2) {
            addCriterion("cremark6 between", value1, value2, "cremark6");
            return (Criteria) this;
        }

        public Criteria andCremark6NotBetween(String value1, String value2) {
            addCriterion("cremark6 not between", value1, value2, "cremark6");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}